<?
	include('chksession.php');
	include('conn.php');
	session_start();
 	
  	  $msg='';
	   $exptranid= $_REQUEST['exptranid'];
	   $expdate= $_REQUEST['expdate'];
	   $empid=  $_REQUEST['empid'];
	   $expensecat=  $_REQUEST['expensecat'];
	   $amtpaid=  $_REQUEST['amtpaid'];
	   $comment=  $_REQUEST['comment'];
	   $enteredby=$_SESSION['username'];
		
		$sql="update expensemast set expdate='$expdate',empid='$empid',expensecat='$expensecat',amtpaid='$amtpaid',comment='$comment',enteredby='$enteredby',entrydt=sysdate() where exptranid='$exptranid'";
			

			
		$res=mysql_query($sql);
		if($res)
		$msg='Record updated successfully...';					

?>